﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.Design;

namespace Ajaxna.Designers
{
    public class CustomCollectionEditor : CollectionEditor
    {
        Type _type;
        public CustomCollectionEditor(Type type)
            : base(type)
        {
            _type = type;
        }

        public override System.Drawing.Design.UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext context)
        {
            return System.Drawing.Design.UITypeEditorEditStyle.Modal;
        }

        public override bool GetPaintValueSupported(System.ComponentModel.ITypeDescriptorContext context)
        {
            return false;
        }
    }
}
